package com.ai.bitcoin.bo;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: ${description}
 * @author: gulj
 * @create: 2018-07-07 19:03
 **/
@Data
public class MemberCenterBitcoinsBO {

    @NotNull(message = "openId is not null")
    private String openId;
    @NotNull(message = "status is not null")
    private String status;

    public String getCacheUniqueKey() {
        return "bit_coins_" + openId + "_" + status;
    }
}
